using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace Kevin.Framework.Data.Configuration
{
    class ConnectionManagerConfigurationSection: ConfigurationSection
	{
		[ConfigurationProperty("connectionStrings", IsRequired = false)]
		public ConnectionStringConfigurationElementCollection ConnectionStrings
		{
			get
			{
				return (ConnectionStringConfigurationElementCollection)base["connectionStrings"];
			}
		}

		[ConfigurationProperty("metaConnection", IsRequired = false)]
		public MetaConnectionStringConfigurationElement MetaConnectionString
		{
			get
			{
				return (MetaConnectionStringConfigurationElement)base["metaConnection"];
			}
		}
		//add by yuanyong 20080320
		[ConfigurationProperty("dataProviders", IsRequired = true)]
		public DataProviderConfigurationElementCollection DataProviders
		{
			get
			{
				return (DataProviderConfigurationElementCollection)base["dataProviders"];
			}
		}
	}
    
}
